<template>
  <div>
    <Modal v-model="show.isShow" @on-ok="$emit('confirm')" @on-cancel="$emit('cancel')" :closable="false" width="300" :style="{textAlign:'center'}">
      <p style="font-size: 16px;padding: 30px 0">
        <Icon type="ios-alert" color="#ed4014" size="24"></Icon>
        是否确定删除？
      </p>
    </Modal>
  </div>
</template>

<script>
  export default {
    props: ['show'],
    data () {
      return {

      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
